<h1>Listing project_tasks</h1>

<table>
  <tr>
    <th>Project</th>
    <th>Task</th>
  </tr>

<% @project_tasks.each do |project_task| %>
  <tr>
    <td><%=h project_task.project_id %></td>
    <td><%=h project_task.task_id %></td>
    <td><%= link_to 'Show', project_task %></td>
    <td><%= link_to 'Edit', edit_project_task_path(project_task) %></td>
    <td><%= link_to 'Destroy', project_task, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New project_task', new_project_task_path %>